package com.whmnx.chitchat.adapter;

import android.content.Context;
import android.widget.ImageView;

import com.classic.adapter.BaseAdapterHelper;
import com.classic.adapter.CommonRecyclerAdapter;
import com.whmnx.chitchat.R;
import com.whmnx.chitchat.bean.DepBean;
import com.whmnx.chitchat.bean.DepartmentDean;

import java.util.ArrayList;
import java.util.List;

/**
 * author : huang
 * date   : 2020/7/27 0027 17:31
 * version: 1.0
 * @author Administrator
 */
public class DepartmentAdapter extends CommonRecyclerAdapter<DepBean> {
    private Context context;
    private List<Boolean> alreadyLikeList = new ArrayList<>();
    private ImageView view;


    public DepartmentAdapter(Context context) {
        super(context, R.layout.item_list_dep);
        this.context = context;
    }


    @Override
    public void onUpdate(BaseAdapterHelper helper, DepBean item, int position) {
        helper.setText(R.id.tv, (String) item.getDepartmentName());
    }
}
